package com.lxx.filter;

import org.sitemesh.builder.SiteMeshFilterBuilder;
import org.sitemesh.config.ConfigurableSiteMeshFilter;

public class WebSiteMeshFilter extends ConfigurableSiteMeshFilter{  
	  
    @Override  
    protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) {  
    	 builder.addDecoratorPath("/*", "/WEB-INF/views/layouts/default.jsp")           
         // Map decorators to path patterns.                  
         //.addDecoratorPath("/strategy/**", "/WEB-INF/views/decorators/decorator.jsp")                // Exclude path from decoration.           
         .addExcludedPath("/static/**");            
         /*.addExcludedPath("/main/**")              
         .addExcludedPath("/popup/**");   */  
    }  
}